<script setup>
import message from "./components/message.vue";
import { NConfigProvider } from "naive-ui";
import { zhCN, dateZhCN } from "naive-ui";
</script>

<template>
  <message></message>
  <n-dialog-provider>
    <n-config-provider :locale="zhCN" :date-locale="dateZhCN">
      <n-loading-bar-provider>
        <router-view></router-view>
      </n-loading-bar-provider>
    </n-config-provider>
  </n-dialog-provider>
</template>

<style src="./md-style.scss"></style>
<style>
body {
  margin: 0px;
}

::-webkit-scrollbar {
  /* display: none; */
  width: 5px;
  margin-right: 10px;
  /* 滚动条宽度 */
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background-color: #d3d0d0 !important;
  /* 滚动条轨道颜色 */
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  background-color: #958f8f !important;
  /* 滚动条滑块颜色 */
  /* border-radius: 8px; */
  /* 滑块圆角 */
}

/* 滚动条滑块悬停状态 */
::-webkit-scrollbar-thumb:hover {
  background-color: #908f8f !important;
  /* 滑块悬停颜色 */
}

blockquote {
  margin-inline-start: 0em;
}
figure img{
  border-radius: 10px;
}
</style>
